<?php
namespace Shopadmin\Model;
use Think\Model\ViewModel;
class UserseedsViewModel extends ViewModel{
	public $viewFields = array(
     'seeds'=>array('_table'=>"sm_seeds",'id','uzuid','fromuid','quangity','nextseeds','addtime','addby','type','reason','status','sid','_type'=>'LEFT'),
	 'suser'=>array('_table'=>'sm_shop_users','id'=>"suid",'_on'=>'seeds.uzuid=suser.id','_type'=>'LEFT'),
     'smuser'=>array('_table'=>'sm_user','usernick'=>'nick', '_on'=>'smuser.id=suser.userid','_type'=>'LEFT')
   );
}